package com.lin.mapper;

import com.github.pagehelper.PageInfo;
import com.lin.entity.Info;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InfoMapper {
    int deleteByPrimaryKey(Long bookid);

    int insert(Info record);

    int insertSelective(Info record);

    Info selectByPrimaryKey(Long bookid);

    int updateByPrimaryKeySelective(Info record);

    int updateByPrimaryKey(Info record);

    List<Info> selAll(@Param("booktype") Integer booktype,@Param("bookname") String bookname,@Param("isborrowed") Integer isborrowed);



}